package com.cjw.pojo.dto.soulread;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/1/29 20:44
 * @description : 收藏朗读DTO
 */
@Data
public class ReadCollectionDTO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("朗读id")
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发布时间")
    private Date addTime;

    @ApiModelProperty("标题")
    private String topic;

    @ApiModelProperty("热度")
    private Integer heat;

    @ApiModelProperty("作者")
    private String authName;

    @ApiModelProperty("评论数")
    private Integer commentNum;

    @ApiModelProperty("点赞数")
    private Integer loveNum;

}
